Module implementing a specialized line edit widget for entering secrets.
| None |
| EricPasswordEdit | Class implementing a specialized line edit widget for entering secrets. |
| EricPasswordEditMode | Class defining the various modes for the password edit widget. |
| None |
Class implementing a specialized line edit widget for entering secrets.
It includes a line edit and a button to toggle the visibility of entered secret. The edit can be used in different modes, which mainly affect the strings shown. The default mode is EricPasswordEditMode.Password. When mode is EricPasswordEditMode.User, the strings must be given AFTER this mode was set with EricPasswordEdit.setMode().
| None |
| None |
| EricPasswordEdit | Constructor |
| __toggleVisibility | Private slot to toggle the password visibility. |
| clear | Public slot to clear the line edit. |
| placeholderText | Public method to get the placeholder text of the line edit. |
| selectAll | Public slot to select the text of the line edit. |
| setMode | Public method to set the mode of the password edit. |
| setPlaceholderText | Public method to set the placeholder text of the line edit. |
| setText | Public slot to set the text of the line edit. |
| setToolTip | Public method to set the tool tip text of the line edit. |
| setUserStrings | Public method to set the strings in User mode. |
| text | Public method to get the entered text. |
| toolTip | Public method to get the tool tip text of the line edit. |
| None |
Constructor
Private slot to toggle the password visibility.
Public slot to clear the line edit.
Public method to get the placeholder text of the line edit.
Public slot to select the text of the line edit.
Public method to set the mode of the password edit.
Public method to set the placeholder text of the line edit.
Public slot to set the text of the line edit.
Public method to set the tool tip text of the line edit.
Public method to set the strings in User mode.
Public method to get the entered text.
Public method to get the tool tip text of the line edit.
Class defining the various modes for the password edit widget.
| Password |
| Pin |
| Token |
| User |
| None |
| None |
| None |